package com.yeyks.commonReference.append.yedun;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConditionalOnProperty(prefix = "yyks.yedun", name = "enable", havingValue = "true")
@ConfigurationProperties(prefix = "yyks.yedun")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class YeDunProperties {

    private String secretId;
    private String secretKey;
    private String businessId;

}
